<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
	<head>
		<title>提交订单</title>




		<!-- Demo page code -->

		<style type="text/css">
#line-chart {
	height: 300px;
	width: 800px;
	margin: 0px auto;
	margin-top: 1em;
}

.brand {
	font-family: georgia, serif;
}

.brand .first {
	color: #ccc;
	font-style: italic;
}

.brand .second {
	color: #fff;
	font-weight: bold;
}
.content1 {
min-width: 400px;
position: relative;
min-height: 650px;
background: #fff;
margin-left: 240px;
margin-top: 6px;
}
</style>


	</head>
	<body class="">

		<jsp:include page="top.jsp"></jsp:include>
		<!-- 内容 开始 -->
		<div class="content1"  >

			<div class="header">

				<h1 class="page-title">
					提交订单
				</h1>
			</div>

			<ul class="breadcrumb">
				<li>
					<a href="/sell_food/userview/index.jsp">主页</a>
					<span class="divider">/</span>
				</li>
				<li class="active">
					提交订单
				</li>
			</ul>

			<div class="container-fluid">
				<div class="row-fluid">


					<div class="well"  >
						<ul class="nav nav-tabs">
							<li class="active">
								<a href="#home" data-toggle="tab">提交订单详情</a>
							</li>
						</ul>

						<div id="myTabContent" class="tab-content">
						
							<div class="tab-pane active in" id="home">
								<form id="tab" action="/sell_food/addorder" method="post">
									<div class="span12">
									<div class="row-fluid">
									<div class="span6">						
									<label>
										用户账号
									</label>
									<input name="order.userName" type="text" value="${loginUser.userName}"
										class="input-block-level uneditable-input" style="height:30px ;width:400px">
									<label>
										订单账号
									</label>
									<input name="order.zhangNO" type="text" value="${cartlist.zhangNO}"
										class="input-block-level uneditable-input" style="height:30px ;width:400px;" >
									<label>
										餐饮列表
									</label>
									<input name="order.food" type="text" value="${cartlist.itemList}"
										class="input-block-level uneditable-input" style="height:30px ;width:400px">	
									<label>
										餐饮总价
									</label>
									<input name="order.total" type="text" value="<%=request.getSession().getAttribute("totalPrice") %>"
										class="input-block-level uneditable-input" style="height:30px ;width:400px">	
									</div>
									<div class="span6">	
									<label>
										送餐地址(不能为空)
									</label>
									<input name="order.adds" type=text class="input-block-level" value="${loginUser.defaultAddress}" style="height:30px ;width:400px">
									<label>
										送餐电话(正常11位手机)
									</label>
									<input name="order.phone" type="text" class="input-block-level" value="${loginUser.defaultPhone}" style="height:30px ;width:400px">
									<label>
										订单备注
									</label>
									<input name="order.description" type="text" class="input-block-level" placeholder='如果没有特别注意，此可以为空' style="height:30px ;width:400px">
									</div></div></div>
									<div class="btn-toolbar">
								     
										<select name="select" align="right">			
										<option value="">货到付款</option>
										<option value="">-------</option>
										</select>
										<button class="btn btn-primary" style="margin:  0 0 0 35;" >
											<i class="icon-save"></i> 提交
										</button>
										
									</div>								
									</form>
		
							</div>
							
						</div>

					</div>
					

				</div>
			</div>
		</div>
		<script type="text/javascript">
	$("[rel=tooltip]").tooltip();
	$(function() {
		$('.demo-cancel-click').click(function() {
			return false;
		});
	});
</script>
	</body>
</html>
